home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / dejava.zip / HelloWorldApp.dis < prev    next >
Text File  |  1996-09-09  |  3KB  |  100 lines

  1.  
  2. DeJAVA, Java Disassembler, Version 1.02
  3. (c) 1996 PFP Software GmbH, Duesseldorf, Germany.
  4.  
  5. Reading: HelloWorldApp.class
  6.  
  7. // Compiled from: HelloWorldApp.java
  8.  
  9. class HelloWorldApp extends java/lang/Object {
  10.  
  11.    static int Limit;
  12.  
  13.    public static void main( String[] ) {
  14.  
  15.      String[] args;           // Slot: 0             Start: 0    Stop: 79
  16.      int j;                   // Slot: 1             Start: 4    Stop: 79
  17.      int i;                   // Slot: 2             Start: 57   Stop: 79
  18.  
  19.      // Max Stack:  2   Max Locals: 3
  20.  
  21.      9:     int j = Limit;
  22.            0: GETSTATIC            < Field = int HelloWorldApp.Limit >
  23.            3: ISTORE_1             < Local No. 1 = int j > 
  24.  
  25.     11:     switch (Limit) {
  26.            4: GETSTATIC            < Field = int HelloWorldApp.Limit >
  27.            7: TABLESWITCH 1 to 3  Default: 53
  28.               1:     32
  29.               2:     53
  30.               3:     37
  31.  
  32.     12:       case 1:  j = 1;             break;
  33.           32: ICONST_1
  34.           33: ISTORE_1             < Local No. 1 = int j > 
  35.           34: GOTO 55
  36.  
  37.     13:       case 3:  j = j==1 ? 17: 12; break;
  38.           37: ILOAD_1              < Local No. 1 = int j > 
  39.           38: ICONST_1
  40.           39: IF_ICMPNE 47
  41.           42: BIPUSH 17
  42.           44: GOTO 49
  43.           47: BIPUSH 12
  44.           49: ISTORE_1             < Local No. 1 = int j > 
  45.           50: GOTO 55
  46.  
  47.     14:       default: j = 3;             break;
  48.           53: ICONST_3
  49.           54: ISTORE_1             < Local No. 1 = int j > 
  50.  
  51.     17:     for ( int i = 1; i <= Limit; i++ )
  52.           55: ICONST_1
  53.           56: ISTORE_2             < Local No. 2 = int i > 
  54.           57: GOTO 71
  55.  
  56.     18:       System.out.println( "Hello World!" );
  57.           60: GETSTATIC            < Field = PrintStream System.out >
  58.           63: LDC1                 < String = "Hello World!" >
  59.           65: INVOKEVIRTUAL        < Method = void PrintStream.println( String ) >
  60.  
  61.     17:     for ( int i = 1; i <= Limit; i++ )
  62.           68: IINC                 < Local No. 2 = int i >  by 1
  63.           71: ILOAD_2              < Local No. 2 = int i > 
  64.           72: GETSTATIC            < Field = int HelloWorldApp.Limit >
  65.           75: IF_ICMPLE 60
  66.  
  67.     20:     return;
  68.           78: RETURN
  69.    }
  70.  
  71.  
  72.    void <init>() {
  73.  
  74.      HelloWorldApp this;      // Slot: 0             Start: 0    Stop: 5
  75.  
  76.      // Max Stack:  1   Max Locals: 1
  77.  
  78.      5: class HelloWorldApp {
  79.            0: ALOAD_0              < Local No. 0 = HelloWorldApp this > 
  80.            1: INVOKENONVIRTUAL     < Method = void Object.<init>() >
  81.            4: RETURN
  82.    }
  83.  
  84.  
  85.    static void <clinit>() {
  86.  
  87.  
  88.      // Max Stack:  1   Max Locals: 0
  89.  
  90.      6:   static int Limit = 3;
  91.            0: ICONST_3
  92.            1: PUTSTATIC            < Field = int HelloWorldApp.Limit >
  93.  
  94.      5: class HelloWorldApp {
  95.            4: RETURN
  96.    }
  97.  
  98.  
  99. }   // End of class HelloWorldApp
  100.